package com.ccom.test.service;

/**
 * @Description:
 * @author: jjzhang24
 * @date: 2021年12月17日
 */
public interface RabbitMqTestService {
    void sendMassage(String queue, String message);

    void sendMassage(String queue, String message, Integer time);

    void publishEvent(String message);

    String receiveFromQueue(String queueName);

    boolean subcribe(String articleId, String userId);
}
